﻿using MyLiEda.Events.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace MyLiEda.Api
{
    public class MyLiEvent : IEvent
    {
        public Guid Id { get; }
        public DateTime Timestamp { get; }

        public string MyName { get; set; }

        public MyLiEvent(string name)
        {
            this.Id = Guid.NewGuid();
            this.Timestamp = DateTime.UtcNow;
            this.MyName = name;
        }
    }
}
